[
    {vaule: 1, name: 2, children: [4]},
	{vaule: 1, name: 2, children: [5]},
    {vaule: 2, name: 2, children: [6]},
    {vaule: 2, name: 2, children: [7]},
    {vaule: 2, name: 2, children: [8]}
].reduce((temp, item, index) => {
    console.log(temp, item, index)
})